package com.roc.steelend.util;


import org.springframework.util.DigestUtils;

import java.nio.charset.StandardCharsets;

/**
 * 用户密码加密
 */
public class Md5Util {

    public static String md5JiaMi(String password){
        String s = DigestUtils.md5DigestAsHex(password.getBytes(StandardCharsets.UTF_8));
        return s;
    }
}
